﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using 纺织贸易管理系统;

namespace 后整理管理系统.入库管理
{
    public partial class 查看开卡信息 : Sunny.UI.UIForm
    {
        public string LotNo { get; set; }
        public string DocNum { get; set; }
        public 查看开卡信息()
        {
            InitializeComponent();
        }

        private void 查看开卡信息_Load(object sender, EventArgs e)
        {
            uiDataGridView1.DataSource  = LiuzhuancardService.GetLiuzhuancardlst($"Select distinct liuzhuancard.* from liuzhuancard left join danjumingxitable on danjumingxitable.danhao=liuzhuancard.CardNum  where  " +             
                $" danjumingxitable.ganghao = '{LotNo }' and danjumingxitable.rkdh = '{DocNum }' order by liuzhuancard.id desc");
        }
    }
}
